<?php

namespace App\Models;

/**
 * App\Models\SysReportCategory
 * This is the model class for table "sys_report_category".
 *
 * @property int $id 自增ID
 * @property int $weight 排序权重
 * @property string $name 名称
 * @property int $status 启用状态，0禁用，1启用
 * @property int $is_deleted 是否删除，0正常，1删除
 * @property int $created_at 创建时间戳
 * @property int $updated_at 更新时间戳
 * @method static \Illuminate\Database\Eloquent\Builder|SysReportCategory newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SysReportCategory newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SysReportCategory query()
 */
class SysReportCategory extends BaseModel
{

    protected $table = "sys_report_category";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    protected $fillable = [];

    protected $hidden = [
        'weight',
        'status',
        'is_deleted',
        'created_at',
        'updated_at'
    ];

    protected $casts = [
        'created_at' => 'timestamp',
        'updated_at' => 'timestamp',
    ];
}
